var net=require('net');

net.server.listen(8080);
server.on('listening',function()
{
    console.log('server is listening');
});